From c80adc33a41ca8480b97614e4b51c4d006d8d50a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 13 Jan 2016 23:38:14 -0500 Subject: [PATCH] app chooser: Set a CSS name The CSS name for GtkAppChooserWidget is appchooser. --- gtk/gtkappchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c index 7e2117ce80..2aeb2b9449 100644 --- a/gtk/gtkappchooserwidget.c +++ b/gtk/gtkappchooserwidget.c @@ -66,6 +66,10 @@ * * To keep track of the selected application, use the * #GtkAppChooserWidget::application-selected and #GtkAppChooserWidget::application-activated signals. + * + * # CSS nodes + * + * GtkAppChooserWidget has a single CSS node with name appchooser. */ struct _GtkAppChooserWidgetPrivate { @@ -1108,6 +1112,8 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass) gtk_widget_class_bind_template_callback (widget_class, refresh_and_emit_app_selected); gtk_widget_class_bind_template_callback (widget_class, program_list_selection_activated); gtk_widget_class_bind_template_callback (widget_class, widget_button_press_event_cb); + + gtk_widget_class_set_css_name (widget_class, "appchooser"); } static void -- 2.30.2